package com.yanmaohu.nikita.data.expression;

import com.yanmaohu.nikita.data.others.Sign;

/**
 * @author Bright Lee
 */
public final class SignedExpression extends Expression {

    private final Sign sign;
    private final Expression expression;

    public SignedExpression(int beginIndex, int endIndex, Sign sign, Expression expression) {
        super(beginIndex, endIndex);
        this.sign = sign;
        this.expression = expression;
    }

    public Sign getSign() {
        return sign;
    }

    public Expression getExpression() {
        return expression;
    }

}
